package com.ruoyi.manufacturer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 生产商管理对象 nyt_manufacturer
 *
 * @author zjh
 * @date 2022-04-06
 */
public class DjManufacturer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long manufacturerId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companyAdress;

    /** 公司id */
    private Long companyId;

    /** 联系人 */
        @Excel(name = "联系人")
    private String companyContact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String comPhone;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessLicence;

    /** 生产许可证 */
    @Excel(name = "生产许可证")
    private String productLicence;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creatBy;

    /** 创建的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateBy;

    /** 更新的时间 */ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;


    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public void setManufacturerId(Long manufacturerId)
    {
        this.manufacturerId = manufacturerId;
    }

    public Long getManufacturerId()
    {
        return manufacturerId;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setCompanyAdress(String companyAdress)
    {
        this.companyAdress = companyAdress;
    }

    public String getCompanyAdress()
    {
        return companyAdress;
    }
    public void setCompanyContact(String companyContact)
    {
        this.companyContact = companyContact;
    }

    public String getCompanyContact()
    {
        return companyContact;
    }
    public void setComPhone(String comPhone)
    {
        this.comPhone = comPhone;
    }

    public String getComPhone()
    {
        return comPhone;
    }
    public void setBusinessLicence(String businessLicence)
    {
        this.businessLicence = businessLicence;
    }

    public String getBusinessLicence()
    {
        return businessLicence;
    }
    public void setProductLicence(String productLicence)
    {
        this.productLicence = productLicence;
    }

    public String getProductLicence()
    {
        return productLicence;
    }
    public void setCreatBy(String creatBy)
    {
        this.creatBy = creatBy;
    }

    public String getCreatBy()
    {
        return creatBy;
    }
    public void setCreatTime(Date creatTime)
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime()
    {
        return creatTime;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("manufacturerId", getManufacturerId())
                .append("companyName", getCompanyName())
                .append("companyAdress", getCompanyAdress())
                .append("companyContact", getCompanyContact())
                .append("comPhone", getComPhone())
                .append("businessLicence", getBusinessLicence())
                .append("productLicence", getProductLicence())
                .append("creatBy", getCreatBy())
                .append("creatTime", getCreatTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
